package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "gulimall-coupon")
@Service
public interface CouponFeignService {
    // 当前会员的所有优惠券信息
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupons();
}
